/*
* 登录api
*
*/

import { postRequest, getRequest } from '@/lib/axios';

export const loginApi = {
    /*
    * 登录
    *
    */
    login: (params) => {
        return postRequest('/api/public/system/login', params);
    },

    /**
     * 验证码 
     * 
    */
    emailSend: (params) => {
        return postRequest('/api/public/system/emailSend', params);
    },
}